{{extend './base.html'}}
{{block 'titleBlock'}}私信{{/block}}
{{block 'scriptBlock'}}
<script type="text/javascript" src="/js/web_private_letter.js"></script>
{{/block}}
{{block 'contentBlock'}}
<div class="container">
    <div class="private_letter_merchant">店家：{{merchant[0].nick_name}}</div>
    <div class="private_letter">
        {{if private_letter}}
        {{each private_letter}}
        {{if $value.is}}
        <div class="private_letter_2">
            <p>{{$value.content}}</p>
            <img src="{{user[0].head_url}}" alt="">
        </div>
        {{else}}
        <div class="private_letter_1">
            <img src="{{merchant[0].head_url}}" alt="">
            <p>{{$value.content}}</p>
        </div>
        {{/if}}
        {{/each}}
        {{/if}}
    </div>
    <div class="private_letter_ok">
        <input type="text" name="" id="">
        <button user_id="{{user[0].user_id}}" merchant_id="{{merchant[0].user_id}}">发送</button>
    </div>
</div>
{{/block}}